package com.cyzy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cyzy.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author LIGHT
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 自定义分页查询
     */
    Page<User> selectUserPage(Page<User> page, @Param("keyword") String keyword);
}
